package com.xy.api.model.dto.mainData;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ProductTreeNodeDTO implements Serializable {

    private String id;

    private Long productId;

    private Long productInstanceId;

    private String productName;

    private String variantCodeOne; // 变体1

    private String variantCodeTwo; // 变体2

    private String variantCodeOneValue; // 变体1

    private String variantCodeTwoValue; // 变体2

    private String variantCodeOneValueWithDesc; // 变体1

    private String variantCodeTwoValueWithDesc; // 变体2

    private Boolean alreadySelected;

    // 计抛/计重，1_计抛，2_计重
    private Integer weightCalculate;

    private Boolean isShow = true;

    private List<ProductTreeNodeDTO> children;

}
